package cqrtplm.service;

import com.alibaba.fastjson.JSONArray;
import com.github.pagehelper.PageInfo;
import com.hustcad.plm.pdm.common.model.dto.search.SearchConditionDTO;
import com.hustcad.plm.pdm.form.model.vo.PdmForm;
import com.hustcad.plm.pdm.partbom.dto.PartBomTree;
import cqrtplm.dto.PdmFormDTO;
import cqrtplm.vo.RTResultEntityVO;

import java.lang.reflect.InvocationTargetException;
import java.math.BigInteger;
import java.util.List;

public interface RTFormService {
    void updateFormProperty(String workFlowContainerId);

    void stitchFormDescriptionAttr(BigInteger workFlowContainerId);

    PageInfo<RTResultEntityVO> queryBomByCondition(SearchConditionDTO conditionDTO)
            throws InvocationTargetException, IllegalAccessException;

    String getCurrentUserLeader();

    PdmForm newGetPdmFormWithDataByType(PdmFormDTO dto);

    List<String> selectMaterialAttrByClassId(String classId, String type);

    List<PartBomTree> queryEBom(String number, String type);

    JSONArray queryProjectCode();

}
